#!/bin/bash

function to_ts() {
	sub=$1
	if [ ! -d $sub ]; then
		echo  "$sub noexists"
		return 0
	fi
	lupdate ${sub}/${sub}.pro -ts translations/${sub}.ts

}

to_ts antivirus
to_ts cleaner
to_ts devcommon
to_ts securitytools
to_ts system-rating

